/**
 * @filename:ReceiveController Jan 14, 2025
 * @project Wonder Vue Admin Api  1.1.0
 * Copyright(c) 2020 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.api.controller;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.vtuzx.core.bean.dto.VtuzxMap;
import com.wonder.admin.domain.SysAdmin;
import com.wonder.app.domain.Receive;
import com.wonder.app.service.ReceiveService;
import com.wonder.app.request.ReceiveRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.wonder.common.common.AjaxResult;
import com.wonder.common.utils.ThreadLocalUtil;
import com.wonder.common.utils.StringUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiImplicitParam;

import javax.servlet.http.HttpServletRequest;
import javax.validation.ConstraintValidatorContext;

/**
 * 
 * <p>说明： 收料通知单API接口层</P>
 * @version: 1.1.0
 * @author: Wonder
 * @time    Jan 14, 2025
 *
 */
@Api(tags = "收料通知单")
@RestController
@RequestMapping("/app/Receive")
public class ReceiveController {
	
	@Autowired
	private ReceiveService receiveService;

	/**
	 * @return Map<String, Object>
	 * @explain 获取收料通知单列表
	 * @author Wonder
	 */
	@ApiOperation(value = "获取收料通知单列表")
	@RequestMapping(value = "/list", method = RequestMethod.POST)
	public AjaxResult<Object> list() {
//		if (ThreadLocalUtil.get("uid") == null)
//			return AjaxResult.unauthorized();
//		Long uid=Long.parseLong(ThreadLocalUtil.get("uid").toString());
//        return AjaxResult.success(receiveService.list(new QueryWrapper<Receive>().eq("uid", uid).orderByDesc("id")));

		return null;
	}




//		Long uid = Long.parseLong(ThreadLocalUtil.get("uid").toString());
//		return AjaxResult.success(receiveService.list(new QueryWrapper<Receive>().eq("uid", uid).orderByDesc("id")));



}